package com.chushouya.manager.dto.api.suggest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户反馈DTO
 */
@Data
@ApiModel("用户反馈")
public class FeedbackDTO {

    @ApiModelProperty(value = "反馈类型", required = false)
    private Integer suggestType;

    @ApiModelProperty(value = "反馈内容", required = true)
    @NotBlank(message = "反馈内容不能为空")
    private String suggestContent;

    @ApiModelProperty(value = "提交人联系方式", required = false)
    private String userContact;

    @ApiModelProperty(value = "订单号", required = false)
    private String orderNo;

    @ApiModelProperty(value = "订单ID", required = false)
    private Long orderId;

    @ApiModelProperty(value = "图片", required = false)
    private String suggestImages;
}
